$(document).ready(function(){
	var path;
	var pathArray = new Array();
	
	path = location.pathname;
	pathArray = path.split('/');
	
	$.each(pathArray, function(index, value) {
		if (value === 'Atrium') {
			$('#building-switcher').find('a:first').addClass('active');
			$('#building-switcher').find('a:last').removeClass('active');
		} else if (value === 'Cinema') {
			$('#building-switcher').find('a:first').removeClass('active');
			$('#building-switcher').find('a:last').addClass('active');
		}
	});
})